package com.pactera.asmp.server.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TPluginConfigExample {
    public static final String PROJECT_ID = "projectId";
    public static final String SERVER_ADDRESS = "serverAddress";
    public static final String APK_PATH = "apkPath";
    public static final String CONFIG_ITEM = "configItem";
    public static final String EXCEPTION_DATA_COLLECTION = "exceptionDataCollection";
    public static final String STATUS = "status";
    public static final String IS_USE = "isUse";
    public static final String CREATE_USER_ID = "createUserId";
    public static final String CREATE_USER_NAME = "createUserName";
    public static final String CREATE_TIME = "createTime";
    public static final String UPDATE_TIME = "updateTime";
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TPluginConfigExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.isEmpty()) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        return new Criteria();
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNull() {
            addCriterion("project_id is null");
            return (Criteria) this;
        }

        public Criteria andProjectIdIsNotNull() {
            addCriterion("project_id is not null");
            return (Criteria) this;
        }

        public Criteria andProjectIdEqualTo(Integer value) {
            addCriterion("project_id =", value, PROJECT_ID);
            return (Criteria) this;
        }

        public Criteria andProjectIdNotEqualTo(Integer value) {
            addCriterion("project_id <>", value, PROJECT_ID);
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThan(Integer value) {
            addCriterion("project_id >", value, PROJECT_ID);
            return (Criteria) this;
        }

        public Criteria andProjectIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("project_id >=", value, PROJECT_ID);
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThan(Integer value) {
            addCriterion("project_id <", value, PROJECT_ID);
            return (Criteria) this;
        }

        public Criteria andProjectIdLessThanOrEqualTo(Integer value) {
            addCriterion("project_id <=", value, PROJECT_ID);
            return (Criteria) this;
        }

        public Criteria andProjectIdIn(List<Integer> values) {
            addCriterion("project_id in", values, PROJECT_ID);
            return (Criteria) this;
        }

        public Criteria andProjectIdNotIn(List<Integer> values) {
            addCriterion("project_id not in", values, PROJECT_ID);
            return (Criteria) this;
        }

        public Criteria andProjectIdBetween(Integer value1, Integer value2) {
            addCriterion("project_id between", value1, value2, PROJECT_ID);
            return (Criteria) this;
        }

        public Criteria andProjectIdNotBetween(Integer value1, Integer value2) {
            addCriterion("project_id not between", value1, value2, PROJECT_ID);
            return (Criteria) this;
        }

        public Criteria andServerAddressIsNull() {
            addCriterion("server_address is null");
            return (Criteria) this;
        }

        public Criteria andServerAddressIsNotNull() {
            addCriterion("server_address is not null");
            return (Criteria) this;
        }

        public Criteria andServerAddressEqualTo(String value) {
            addCriterion("server_address =", value, SERVER_ADDRESS);
            return (Criteria) this;
        }

        public Criteria andServerAddressNotEqualTo(String value) {
            addCriterion("server_address <>", value, SERVER_ADDRESS);
            return (Criteria) this;
        }

        public Criteria andServerAddressGreaterThan(String value) {
            addCriterion("server_address >", value, SERVER_ADDRESS);
            return (Criteria) this;
        }

        public Criteria andServerAddressGreaterThanOrEqualTo(String value) {
            addCriterion("server_address >=", value, SERVER_ADDRESS);
            return (Criteria) this;
        }

        public Criteria andServerAddressLessThan(String value) {
            addCriterion("server_address <", value, SERVER_ADDRESS);
            return (Criteria) this;
        }

        public Criteria andServerAddressLessThanOrEqualTo(String value) {
            addCriterion("server_address <=", value, SERVER_ADDRESS);
            return (Criteria) this;
        }

        public Criteria andServerAddressLike(String value) {
            addCriterion("server_address like", value, SERVER_ADDRESS);
            return (Criteria) this;
        }

        public Criteria andServerAddressNotLike(String value) {
            addCriterion("server_address not like", value, SERVER_ADDRESS);
            return (Criteria) this;
        }

        public Criteria andServerAddressIn(List<String> values) {
            addCriterion("server_address in", values, SERVER_ADDRESS);
            return (Criteria) this;
        }

        public Criteria andServerAddressNotIn(List<String> values) {
            addCriterion("server_address not in", values, SERVER_ADDRESS);
            return (Criteria) this;
        }

        public Criteria andServerAddressBetween(String value1, String value2) {
            addCriterion("server_address between", value1, value2, SERVER_ADDRESS);
            return (Criteria) this;
        }

        public Criteria andServerAddressNotBetween(String value1, String value2) {
            addCriterion("server_address not between", value1, value2, SERVER_ADDRESS);
            return (Criteria) this;
        }

        public Criteria andApkPathIsNull() {
            addCriterion("apk_path is null");
            return (Criteria) this;
        }

        public Criteria andApkPathIsNotNull() {
            addCriterion("apk_path is not null");
            return (Criteria) this;
        }

        public Criteria andApkPathEqualTo(String value) {
            addCriterion("apk_path =", value, APK_PATH);
            return (Criteria) this;
        }

        public Criteria andApkPathNotEqualTo(String value) {
            addCriterion("apk_path <>", value, APK_PATH);
            return (Criteria) this;
        }

        public Criteria andApkPathGreaterThan(String value) {
            addCriterion("apk_path >", value, APK_PATH);
            return (Criteria) this;
        }

        public Criteria andApkPathGreaterThanOrEqualTo(String value) {
            addCriterion("apk_path >=", value, APK_PATH);
            return (Criteria) this;
        }

        public Criteria andApkPathLessThan(String value) {
            addCriterion("apk_path <", value, APK_PATH);
            return (Criteria) this;
        }

        public Criteria andApkPathLessThanOrEqualTo(String value) {
            addCriterion("apk_path <=", value, APK_PATH);
            return (Criteria) this;
        }

        public Criteria andApkPathLike(String value) {
            addCriterion("apk_path like", value, APK_PATH);
            return (Criteria) this;
        }

        public Criteria andApkPathNotLike(String value) {
            addCriterion("apk_path not like", value, APK_PATH);
            return (Criteria) this;
        }

        public Criteria andApkPathIn(List<String> values) {
            addCriterion("apk_path in", values, APK_PATH);
            return (Criteria) this;
        }

        public Criteria andApkPathNotIn(List<String> values) {
            addCriterion("apk_path not in", values, APK_PATH);
            return (Criteria) this;
        }

        public Criteria andApkPathBetween(String value1, String value2) {
            addCriterion("apk_path between", value1, value2, APK_PATH);
            return (Criteria) this;
        }

        public Criteria andApkPathNotBetween(String value1, String value2) {
            addCriterion("apk_path not between", value1, value2, APK_PATH);
            return (Criteria) this;
        }

        public Criteria andConfigItemIsNull() {
            addCriterion("config_item is null");
            return (Criteria) this;
        }

        public Criteria andConfigItemIsNotNull() {
            addCriterion("config_item is not null");
            return (Criteria) this;
        }

        public Criteria andConfigItemEqualTo(String value) {
            addCriterion("config_item =", value, CONFIG_ITEM);
            return (Criteria) this;
        }

        public Criteria andConfigItemNotEqualTo(String value) {
            addCriterion("config_item <>", value, CONFIG_ITEM);
            return (Criteria) this;
        }

        public Criteria andConfigItemGreaterThan(String value) {
            addCriterion("config_item >", value, CONFIG_ITEM);
            return (Criteria) this;
        }

        public Criteria andConfigItemGreaterThanOrEqualTo(String value) {
            addCriterion("config_item >=", value, CONFIG_ITEM);
            return (Criteria) this;
        }

        public Criteria andConfigItemLessThan(String value) {
            addCriterion("config_item <", value, CONFIG_ITEM);
            return (Criteria) this;
        }

        public Criteria andConfigItemLessThanOrEqualTo(String value) {
            addCriterion("config_item <=", value, CONFIG_ITEM);
            return (Criteria) this;
        }

        public Criteria andConfigItemLike(String value) {
            addCriterion("config_item like", value, CONFIG_ITEM);
            return (Criteria) this;
        }

        public Criteria andConfigItemNotLike(String value) {
            addCriterion("config_item not like", value, CONFIG_ITEM);
            return (Criteria) this;
        }

        public Criteria andConfigItemIn(List<String> values) {
            addCriterion("config_item in", values, CONFIG_ITEM);
            return (Criteria) this;
        }

        public Criteria andConfigItemNotIn(List<String> values) {
            addCriterion("config_item not in", values, CONFIG_ITEM);
            return (Criteria) this;
        }

        public Criteria andConfigItemBetween(String value1, String value2) {
            addCriterion("config_item between", value1, value2, CONFIG_ITEM);
            return (Criteria) this;
        }

        public Criteria andConfigItemNotBetween(String value1, String value2) {
            addCriterion("config_item not between", value1, value2, CONFIG_ITEM);
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionIsNull() {
            addCriterion("exception_data_collection is null");
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionIsNotNull() {
            addCriterion("exception_data_collection is not null");
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionEqualTo(String value) {
            addCriterion("exception_data_collection =", value, EXCEPTION_DATA_COLLECTION);
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionNotEqualTo(String value) {
            addCriterion("exception_data_collection <>", value, EXCEPTION_DATA_COLLECTION);
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionGreaterThan(String value) {
            addCriterion("exception_data_collection >", value, EXCEPTION_DATA_COLLECTION);
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionGreaterThanOrEqualTo(String value) {
            addCriterion("exception_data_collection >=", value, EXCEPTION_DATA_COLLECTION);
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionLessThan(String value) {
            addCriterion("exception_data_collection <", value, EXCEPTION_DATA_COLLECTION);
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionLessThanOrEqualTo(String value) {
            addCriterion("exception_data_collection <=", value, EXCEPTION_DATA_COLLECTION);
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionLike(String value) {
            addCriterion("exception_data_collection like", value, EXCEPTION_DATA_COLLECTION);
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionNotLike(String value) {
            addCriterion("exception_data_collection not like", value, EXCEPTION_DATA_COLLECTION);
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionIn(List<String> values) {
            addCriterion("exception_data_collection in", values, EXCEPTION_DATA_COLLECTION);
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionNotIn(List<String> values) {
            addCriterion("exception_data_collection not in", values, EXCEPTION_DATA_COLLECTION);
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionBetween(String value1, String value2) {
            addCriterion("exception_data_collection between", value1, value2, EXCEPTION_DATA_COLLECTION);
            return (Criteria) this;
        }

        public Criteria andExceptionDataCollectionNotBetween(String value1, String value2) {
            addCriterion("exception_data_collection not between", value1, value2, EXCEPTION_DATA_COLLECTION);
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, STATUS);
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, STATUS);
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, STATUS);
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, STATUS);
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, STATUS);
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, STATUS);
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, STATUS);
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, STATUS);
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, STATUS);
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, STATUS);
            return (Criteria) this;
        }

        public Criteria andIsUseIsNull() {
            addCriterion("is_use is null");
            return (Criteria) this;
        }

        public Criteria andIsUseIsNotNull() {
            addCriterion("is_use is not null");
            return (Criteria) this;
        }

        public Criteria andIsUseEqualTo(Byte value) {
            addCriterion("is_use =", value, IS_USE);
            return (Criteria) this;
        }

        public Criteria andIsUseNotEqualTo(Byte value) {
            addCriterion("is_use <>", value, IS_USE);
            return (Criteria) this;
        }

        public Criteria andIsUseGreaterThan(Byte value) {
            addCriterion("is_use >", value, IS_USE);
            return (Criteria) this;
        }

        public Criteria andIsUseGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_use >=", value, IS_USE);
            return (Criteria) this;
        }

        public Criteria andIsUseLessThan(Byte value) {
            addCriterion("is_use <", value, IS_USE);
            return (Criteria) this;
        }

        public Criteria andIsUseLessThanOrEqualTo(Byte value) {
            addCriterion("is_use <=", value, IS_USE);
            return (Criteria) this;
        }

        public Criteria andIsUseIn(List<Byte> values) {
            addCriterion("is_use in", values, IS_USE);
            return (Criteria) this;
        }

        public Criteria andIsUseNotIn(List<Byte> values) {
            addCriterion("is_use not in", values, IS_USE);
            return (Criteria) this;
        }

        public Criteria andIsUseBetween(Byte value1, Byte value2) {
            addCriterion("is_use between", value1, value2, IS_USE);
            return (Criteria) this;
        }

        public Criteria andIsUseNotBetween(Byte value1, Byte value2) {
            addCriterion("is_use not between", value1, value2, IS_USE);
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Integer value) {
            addCriterion("create_user_id =", value, CREATE_USER_ID);
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Integer value) {
            addCriterion("create_user_id <>", value, CREATE_USER_ID);
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Integer value) {
            addCriterion("create_user_id >", value, CREATE_USER_ID);
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_user_id >=", value, CREATE_USER_ID);
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Integer value) {
            addCriterion("create_user_id <", value, CREATE_USER_ID);
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("create_user_id <=", value, CREATE_USER_ID);
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Integer> values) {
            addCriterion("create_user_id in", values, CREATE_USER_ID);
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Integer> values) {
            addCriterion("create_user_id not in", values, CREATE_USER_ID);
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Integer value1, Integer value2) {
            addCriterion("create_user_id between", value1, value2, CREATE_USER_ID);
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("create_user_id not between", value1, value2, CREATE_USER_ID);
            return (Criteria) this;
        }

        public Criteria andCreateUserNameIsNull() {
            addCriterion("create_user_name is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameIsNotNull() {
            addCriterion("create_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserNameEqualTo(String value) {
            addCriterion("create_user_name =", value, CREATE_USER_NAME);
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotEqualTo(String value) {
            addCriterion("create_user_name <>", value, CREATE_USER_NAME);
            return (Criteria) this;
        }

        public Criteria andCreateUserNameGreaterThan(String value) {
            addCriterion("create_user_name >", value, CREATE_USER_NAME);
            return (Criteria) this;
        }

        public Criteria andCreateUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("create_user_name >=", value, CREATE_USER_NAME);
            return (Criteria) this;
        }

        public Criteria andCreateUserNameLessThan(String value) {
            addCriterion("create_user_name <", value, CREATE_USER_NAME);
            return (Criteria) this;
        }

        public Criteria andCreateUserNameLessThanOrEqualTo(String value) {
            addCriterion("create_user_name <=", value, CREATE_USER_NAME);
            return (Criteria) this;
        }

        public Criteria andCreateUserNameLike(String value) {
            addCriterion("create_user_name like", value, CREATE_USER_NAME);
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotLike(String value) {
            addCriterion("create_user_name not like", value, CREATE_USER_NAME);
            return (Criteria) this;
        }

        public Criteria andCreateUserNameIn(List<String> values) {
            addCriterion("create_user_name in", values, CREATE_USER_NAME);
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotIn(List<String> values) {
            addCriterion("create_user_name not in", values, CREATE_USER_NAME);
            return (Criteria) this;
        }

        public Criteria andCreateUserNameBetween(String value1, String value2) {
            addCriterion("create_user_name between", value1, value2, CREATE_USER_NAME);
            return (Criteria) this;
        }

        public Criteria andCreateUserNameNotBetween(String value1, String value2) {
            addCriterion("create_user_name not between", value1, value2, CREATE_USER_NAME);
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, CREATE_TIME);
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, CREATE_TIME);
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, CREATE_TIME);
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, CREATE_TIME);
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, CREATE_TIME);
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, CREATE_TIME);
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, CREATE_TIME);
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, CREATE_TIME);
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, CREATE_TIME);
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, CREATE_TIME);
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, UPDATE_TIME);
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, UPDATE_TIME);
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, UPDATE_TIME);
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, UPDATE_TIME);
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, UPDATE_TIME);
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, UPDATE_TIME);
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, UPDATE_TIME);
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, UPDATE_TIME);
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, UPDATE_TIME);
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, UPDATE_TIME);
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}